2 username="gioele@678b7c03f524f2669b179b603f65352fcc16774e"
4 avatar="http://cdn.libravatar.org/avatar/366dbda84e78aff8a8a070622aeb63ce"
6 date="2023-03-25T08:47:01Z"
8 > I wonder if there are other situations where modifications can prevent checkout of the updated adjusted branch?
10 I clearly remember seeing something similar when a `sync` failed due a non-recoverable network failure. Unfortunately I have no logs from that day.
12 > It seems wise for git-annex to defend against it in depth, by making sure no crash can leave it in detached head state.
14 Perhaps also extend `fsck` to automatically recover from such a state? Or at least suggest a couple of possible solutions to the user?